package com.fm.magic.net.chrome;

import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.Socket;

/**
 * @author leo.li
 */
public class T {
    public static void main(String[] args) throws IOException {
        long start = System.currentTimeMillis();
        Socket socket = new Socket();
        InetSocketAddress address = new InetSocketAddress("182.16.61.7", 443);
        socket.connect(address, 120000);
        System.out.println(System.currentTimeMillis() - start);
    }
}
